package com.iking.toolkit.formatdeal.model.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.iking.toolkit.model.PageConditions;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 功能描述:分页查询文件格式转化记录
 *
 * @author: yfl
 * @date: 2025/8/7 10:13
 */
@Data
@Schema(description = "分页查询文件格式转化记录")
public class SelectByPageDTO extends PageConditions {

    @Schema(description = "转换分类:TEXT,PDF等")
    private String conversionType;

    @Schema(description = "转换动作")
    private String conversionAction;

    @Schema(description = "转换状态:1.转换中2.转换成功3.转换失败")
    private Integer conversionState;

    @Schema(description = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private String startDate;

    @Schema(description = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private String endDate;
}
